#!/usr/bin/env bash

#deltafreq=`echo 0.1111 |bc`
#a=`echo 0.05|bc`
#th=`echo 0.1|bc`

deltafreq=0.1111
a=0.05
th=0.1

echo "$deltafreq $a $th"

if test $a \> $th ;then
	echo "$a plus grand que $th"
else
	echo "$a plus petit que $th"
fi

#if [ $(echo $(("$deltafreq -lt 0.1")) |bc) -eq 1 ];then #bc is a command to compare float
#	echo "ok" >> fictest.txt
#else
#	echo "pas ok" >> fictest.txt
#fi

#export taiste=95.125
 
#if [ ${taiste//\.*/} -ge 95 ]
#then
#   ...
#fi
